package com.c;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@MapperScan("com.c.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)//开启springsecurity注解使用
public class XiaoliHealthApplication {

    public static void main(String[] args) {
        SpringApplication.run(XiaoliHealthApplication.class, args);
    }

}
